From 9a9d081dad1e15213348499b1b1d017f7fbd1ea2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 29 Aug 2005 20:06:16 +0000 Subject: [PATCH] Don't refer to nonexisting stock ids. 2005-08-29 Matthias Clasen * gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock): * gtk/gtkimage.c (gtk_image_new_from_stock): Don't refer to nonexisting stock ids. --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ gtk/gtkimage.c | 2 +- gtk/gtkstatusicon.c | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2918d4aa81..c12ae8f312 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-08-29 Matthias Clasen + * gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock): + * gtk/gtkimage.c (gtk_image_new_from_stock): Don't + refer to nonexisting stock ids. + * gtk/gtktextview.c (popup_targets_received): * gtk/gtkentry.c (popup_targets_received): Construct the "Select All" menuitem from stock. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 2918d4aa81..c12ae8f312 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,9 @@ 2005-08-29 Matthias Clasen + * gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock): + * gtk/gtkimage.c (gtk_image_new_from_stock): Don't + refer to nonexisting stock ids. + * gtk/gtktextview.c (popup_targets_received): * gtk/gtkentry.c (popup_targets_received): Construct the "Select All" menuitem from stock. diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index 9fabd8e4d7..bb2a9232fd 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -611,7 +611,7 @@ gtk_image_new_from_pixbuf (GdkPixbuf *pixbuf) * @size: a stock icon size * * Creates a #GtkImage displaying a stock icon. Sample stock icon - * names are #GTK_STOCK_OPEN, #GTK_STOCK_EXIT. Sample stock sizes + * names are #GTK_STOCK_OPEN, #GTK_STOCK_QUIT. Sample stock sizes * are #GTK_ICON_SIZE_MENU, #GTK_ICON_SIZE_SMALL_TOOLBAR. If the stock * icon name isn't known, the image will be empty. * You can register your own stock icon names, see diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c index e7ab1c9cae..f0b01b112f 100755 --- a/gtk/gtkstatusicon.c +++ b/gtk/gtkstatusicon.c @@ -452,7 +452,7 @@ gtk_status_icon_new_from_file (const gchar *filename) * @stock_id: a stock icon id * * Creates a status icon displaying a stock icon. Sample stock icon - * names are #GTK_STOCK_OPEN, #GTK_STOCK_EXIT. You can register your + * names are #GTK_STOCK_OPEN, #GTK_STOCK_QUIT. You can register your * own stock icon names, see gtk_icon_factory_add_default() and * gtk_icon_factory_add(). * -- 2.30.2